<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>后盾人</title>
  </head>
  <body>
    <script src="https://cdn.bootcss.com/moment.js/2.24.0/moment.min.js"></script>
    <script>
      const date = moment("1992-02-22 10:12:24");
      console.log(date.format("YYYY-MM-DD HH:mm:ss"));
      console.log(date.add(10, "days").format("YYYY-MM-DD HH:mm:ss"));
    </script>
  </body>
</html>
